package com.sqm.a4;

import edu.princeton.cs.algs4.StdIn;
import edu.princeton.cs.algs4.StdOut;

/**
 * @Author sun.qingmeng
 * @Date 2021/2/10 10:34 下午
 */
public class Ex_1_1_6 {
    public static void main(String[] args) {
        int f = 0;
        int g = 1;
        for (int i = 0; i <= 15; i++)  {
            StdOut.println(f + " " + g);
            f = f + g;
            g = f - g;
        }
    }
}
